import axios from '@/utils/request';

export function getOrderLineList(params) {
    return axios.post({
        url: '/order-pay/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editOrderPay(params) {
    return axios.post({
        url: '/order-pay/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteOrderPay(params) {
    return axios.post({
        url: '/order-pay/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadOrderPay(params) {
    return axios.post({
        url: '/order-pay/load',
        data: params
    }).then((res) => {
        return res
    })
}

export function excelUploadOrderPay(params) {
    return axios.post({
        url: '/order-pay/handleExcel',
        data: params
    }).then((res) => {
        return res
    })
}

